package com.lzp.utils.enums;

/**
 * 商品评价等级
 *
 * @author dtyy
 * @date 2020/8/9
 */
public enum CommentLevel {
    GOOD(1, "好评"),
    NORMAL(2, "中评"),
    BAD(3, "差评");

    private final Integer code;

    private final String desc;

    CommentLevel(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

}
